export default {
    path: '/contract',
    name: 'contract',
    redirect: '/contract/credit',
    component: () => import('@/views/layout/layout.vue'),
    meta: {
        title: '合同管理',
    },
    children: [
        {
            path: 'credit',
            name: 'contractCredit',
            component: () => import('@/views/contract/credit/list'),
            meta: {
                title: '个人征信授权书',
            },
        },
        // {
        //     path: 'edit/:id',
        //     name: 'templateEdit',
        //     component: () => import('@/views/template/contract/edit'),
        //     meta: {
        //         title: '编辑模板',
        //         hidden: true,
        //     },
        //     props: true,
        // },
        {
            path: 'sign',
            name: 'contractSign',
            component: () => import('@/views/contract/sign/list'),
            meta: {
                title: '发起合同签署',
            },
        },
        {
            path: 'loan',
            name: 'contractLoan',
            component: () => import('@/views/contract/loan/list'),
            meta: {
                title: '贷款合同',
            },
        },
    ],
};
